package com.lleice.service.dto;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnore;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 
 * @author lizihao
 *
 */
@Getter
@Setter
@Accessors(chain = true)
@ApiModel("机构树结构")
public class DepartmentTreeDto implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -3281568500094898657L;

		@ApiModelProperty(value = "机构id")
		private String id;
	
	 	@ApiModelProperty(value = "机构名称")
	    private String departmentName;

	    @ApiModelProperty(value = "父机构id")
	    private String parentDepId;
	    
	    @ApiModelProperty(value = "排序")
	    @JsonIgnore
	    private Integer sortNum;
	    
	    @ApiModelProperty(value = "1则表示这个用户拥有这个节点,0则表示没有")
	    private Integer isShow;

	    

	    
}
